package com.hckjsec.common.config;


import org.json.JSONObject;

public class BdIdCardBack {
    public BdIdCardBack(){}

    public BdIdCardBack(JSONObject result){
        if(!result.isNull(("签发日期"))){
            this.startTime = result.getJSONObject("签发日期").getString("words");
        }
        if(!result.isNull(("失效日期"))){
            this.endTime = result.getJSONObject("失效日期").getString("words");
        }
        if(!result.isNull(("签发机关"))){
            this.issueUnit = result.getJSONObject("签发机关").getString("words");
        }
    }
    private String startTime;

    private String endTime;

    private String issueUnit;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getIssueUnit() {
        return issueUnit;
    }

    public void setIssueUnit(String issueUnit) {
        this.issueUnit = issueUnit;
    }
}
